package com.ciaojian.store.model.vo;

import com.ciaojian.core.enums.business.MemberTypeEnum;
import com.ciaojian.core.enums.business.OrderCustomerTypeEnum;
import com.ciaojian.core.enums.business.OrderIsUserMemberEnum;
import com.ciaojian.core.enums.business.OrderStatusEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 操作页订单列表 VO
 *
 * @author Atlakyn
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel
public class OperationOrderVO {
    @ApiModelProperty("订单id")
    private Integer id;

    @ApiModelProperty("服务名称")
    private String serviceName;

    @ApiModelProperty("发型师id")
    private Integer workerId;

    @ApiModelProperty("用户id")
    private Integer userId;

    @ApiModelProperty("会员类型")
    private MemberTypeEnum memberType;

    @ApiModelProperty("用户名")
    private String userName;

    @ApiModelProperty("消费次数")
    private Integer consumeCount;

    @ApiModelProperty("排队号")
    private String rankNo;

    @ApiModelProperty("手机号")
    private String phone;

    @ApiModelProperty("门店id")
    private Integer storeId;

    @ApiModelProperty("发型师名称")
    private String workerName;

    @ApiModelProperty("门店名称")
    private String storeName;

    @ApiModelProperty("订单号")
    private String orderNo;

    @ApiModelProperty("取号时间")
    private Date addTime;

    @ApiModelProperty("支付类型")
    private String payType;

    @ApiModelProperty("支付时间")
    private Date payTime;

    @ApiModelProperty("支付总价")
    private BigDecimal payTotal;

    @ApiModelProperty("订单状态")
    private OrderStatusEnum status;

    @ApiModelProperty("顾客属性")
    private OrderCustomerTypeEnum customerType;

    @ApiModelProperty("邀请发型师")
    private Integer inviterId;

    @ApiModelProperty("是否为会员")
    private OrderIsUserMemberEnum isUserMember;

    @ApiModelProperty("页码")
    @Builder.Default
    private Integer pageNo = 0;

    @ApiModelProperty("页码大小")
    @Builder.Default
    private Integer pageSize = 6;


}
